package com.lx.perferred.mall.admin;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author lX
 * @version JDK 8
 * @className Preferred (此处以class为例)
 * @date 2024/11/30
 * @description 优选商城管理端启动类
 */
@EnableFeignClients//开启Feign功能
//移除数据源自动配置类
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
@MapperScan({"com.lx.perferred.mall.admin.dao","com.lx.perferred.mall.admin.mapper"})
public class PreferredMallAdminApplication {

  public static void main(String[] args) {
    SpringApplication.run(PreferredMallAdminApplication.class, args);
  }
}
